package clases;

import java.util.Collections;
import java.util.Comparator;

public class ComparadorCedula implements Comparator{
	

	@Override
	public int compare(Object o1, Object o2) {
		Persona p1,p2;
		p1=(Persona) o1;
		p2=(Persona) o2;
		return p1.get_cedula().compareTo(p2.get_cedula());
	}
	
	 public boolean equals(Object o) {
		    return this == o;
	 }
}
